package cn.wen.yaling.xo.dao;

import cn.wen.yaling.commons.entity.SysDictTypeEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 
 * 
 * @author FY
 * @email 932043654@qq.com
 * @date 2022-08-13 02:07:36
 */
@Mapper
@Component
public interface SysDictTypeDao extends BaseMapper<SysDictTypeEntity> {

    /**
     * 批量修改字典类型的状态
     * @param dictTypeIds
     * @param status
     * @return
     */
    boolean updateBatchDictTypeStatus(@Param("dictTypeIds") List<Integer> dictTypeIds,@Param("status") int status);
}
